package com.fire.market.service.impl;

import com.fire.component.dto.Response;
import com.fire.market.promo.api.service.PromoCmdFrontService;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;

/**
 * PromoCmdFrontServiceImpl
 *
 * @author zwd
 * @date 2021/7/20
 */
@Service
public class PromoCmdFrontServiceImpl implements PromoCmdFrontService {
    @Resource
    PromoCmdCoreService promoCmdCoreService;
    @Override
    public Response publishPromo(Integer itemId) {
        promoCmdCoreService.publishPromo(itemId);
        return Response.buildSuccess();
    }
}
